package com.woniuxy.service;

import com.woniuxy.pojo.Dictionary;
import com.woniuxy.util.DataGridView;
import com.woniuxy.vo.DictionaryVo;

import java.util.List;

public interface DictionaryService {

    public List<Dictionary> findAllDics();

    public boolean AddDictionary(Dictionary dictionary);

    public Dictionary findDicByName(String name);

    public List<Dictionary> findLevOne();

    public List<Dictionary> findLevTwo();

    public List<Dictionary> findLevThree();

    public DataGridView selectDicsWithPname(DictionaryVo dictionaryVo);

    public List<Dictionary> queryDicsByPid(int id);

    public List<Dictionary> findAllDeptsInDic();

    public List<Dictionary> findAllPostsInDic();

}
